﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Input;

namespace Congkak
{
    public class GameOverState: GameState
    {
        bool isDone;

        public GameOverState(GameplayScreen gamePlay)
            : base(gamePlay)
        {
            LoadContent();
        }

        private void LoadContent()
        {
        }

        public override void Update(GameTime gameTime)
        {
            isDone = true;
            if (isDone)
            {
                gamePlay.RetryLevel();
            }
        }

        public override void Draw()
        {
            
        }
    }
}
